<?php

require "[system_path]system/framework.php";
require_once("[system_path]system/api/simplehtmldom/simple_html_dom.php");   


$template=new template();
$template->importTemplate();

//$code = new code();
//$code->compileTemplate();
//$compile=new compile();
//$compile->compileTemplate();

/*$compileTemplate = new compile_template();
//$compileTemplate->sourcePath = config::$projectPath."/template";
$compileTemplate->templatePath = config::$projectPath."/template";
$compileTemplate->compileTemplate(); */


        // Compile Project Template                                 
        $compileTemplate            =new compile_template(); 
        $compileTemplate->sourcePath=config::$projectPath . "/template";
        $compileTemplate->templatePath = config::$projectPath."/template";
        $compileTemplate->sourceUrl ="/data" . config::$templatePath;                                      
        $compileTemplate->compileTemplate();

     /*   $compileTemplate->sourcePath=config::$basePath . "/system/template";
        $compileTemplate->sourceUrl ="/data" . config::$templatePath;
        $compileTemplate->compileTemplate(config::$basePath . "/system/template", "/code" . config::$templatePath);*/


        //http::redirect("[php_property:action]");
?>